package vip.source.pattern.part22.visitor.visitor;

import vip.source.pattern.part22.visitor.user.impl.Student;
import vip.source.pattern.part22.visitor.user.impl.Teacher;

public interface Visitor {

    // 访问学生信息
    void visit(Student student);

    // 访问老师信息
    void visit(Teacher teacher);

}
